ADP\BaseVersion\Includes\Cart\Structures\CartItem A

Total Complexity 52
Dependencies 2
Dependents 8
Total lines 396
Lines of code 177
Logical lines of code 89
Comment lines 109
Methods 29
Properties 13

Methods 29

Method Rating Maintainability Complexity Lines of code
setPrice()
A
51 8 26
setPriceNew()
S
64 4 10
addAttr()
S
62 3 13
isPriceChanged()
S
66 3 8
areRuleApplied()
S
66 3 8
removeMark()
S
64 3 10
removeAttr()
S
64 3 10
__construct()
S
60 2 13
setMinDiscountRangePrice()
S
74 2 5
__clone()
S
66 2 9
getDiscounts()
S
82 1 3
getMarks()
S
82 1 3
addMark()
S
77 1 4
hasMark()
S
79 1 3
getTotalPrice()
S
80 1 3
getHash()
S
82 1 3
recalculateHash()
S
65 1 9
getHistory()
S
82 1 3
getPos()
S
82 1 3
setPos()
S
77 1 4
getAttrs()
S
82 1 3
hasAttr()
S
79 1 3
getWcItem()
S
82 1 3
getOriginalPrice()
S
82 1 3
getObjDiscounts()
S
82 1 3
getPrice()
S
82 1 3
setQty()
S
80 1 3
getQty()
S
82 1 3
getMinDiscountRangePrice()
S
82 1 3